package com.xwkj.sharding.mapper;


import com.xwkj.sharding.entity.OrderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper {

    public List<OrderEntity> findExpiredOrderState(@Param("bpIds") List<String> bpIds);

    List<OrderEntity> findAll();

    void save(OrderEntity order);
}
